/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package enteties.person.address;

import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Gebruiker
 */
@Local
public interface AddressFacadeLocal {

    void create(Address address);

    void edit(Address address);

    void remove(Address address);

    Address find(Object id);

    List<Address> findAll();

    List<Address> findRange(int[] range);

    int count();

    public void editAddress(java.lang.Long id, java.lang.String street, java.lang.String number, java.lang.String postalCode, java.lang.String bus, java.lang.String location, boolean defaultAddress, java.lang.Integer countryid, java.lang.Long typeid);

    public void removeAddress(java.lang.Long id);

    public util.person.address.AddressDetails getAddressDetail(java.lang.Long id);

    public Long createAddress(java.lang.String street, java.lang.String number, java.lang.String postalCode, java.lang.String bus, java.lang.String location, boolean defaultAddress, java.lang.Integer countryid, java.lang.Long typeid);
    
}
